home *** CD-ROM | disk | FTP | other *** search
- Subject: Wholemeal Digestive [avg][7 Jun 94]
- Date: Tue, 7 Jun 1994 11:44:41 +0200 (MDT)
- From: Annius.Groenink@cwi.nl (Annius Groenink)
- X-Face: "E3Hm]k]&:,OEP<{D2ixJf>-9[qOGLebNa0&cQyFL-a~)kTM3&&I"gFw=fJ]K%1IduGjOE`
- ZGu]&~G]QNGa7i/L!+#Xng<|+}HKYHj~5?fTInUEUh0$I1gBI7jrA!&_|e/pR1[cX:^xgJTPsrjA_9
- m8Zli[|.-u{]+c1(6C7mL*m`/_J\>.{4!:g
- Mime-Version: 1.0
- Precedence: bulk
-
-
- Here are my fortune cookies for today. Please note that I haven't
- read monday's contributions yet.
-
- -----
-
- waldi:
-
- > What about a more general file, say GEM-APPL.SYS, which could/would
- > contain more than shortcuts? I think there's much more config stuff
- > that could be shared by applications.
-
- I spent some time thinking about the SHORTCUT.INF file and independently
- came up with the same thoughts.
-
- My experimental syntax comprises (the number of items NOT being fixed,
- though!)
-
- 1. application name or empty string.
- 2. widget or window class user interface action is valid in
- 3. what kind of action (key, button, mouse-in, mouse-out etc.)
- (can be endlessly extended, as can 2.)
- 4. key combination
-
- Those four values mapped to an action. This is better than mapping an
- action to a key shortcut as in the above order, sorting the file will
- be a good way of spotting clashes (i.e. it would be hard to attach the
- same key to different actions).
-
- Example DEFAULTS.INF (preferred to DEFAULT.SYS as 'SYS' denotes a file
- which is read by something system-specific, not by each application)
-
- #
- # general defaults
- #
- **key*sh-ctl-a: select-all
- *editable-field*button*right-click: paste
- *dialog*key*return: ok
- *dialog*key*undo: cancel
-
- #
- # class specific defaults
- #
- word-processor**key*ctl-i: italic-mode
- word-processor**key*ctl-b: boldface-mode
-
- #
- # application specific defaults
- #
- edith*window*key*num-0: iconify
- edith*icon*key*num-0: open-icon
-
- -------
-
- andre's proposal.
-
- I'll be straight. I don't like it at all. Having code numbers is
- trouble, as someone will need to keep track of the codes. It is much
- better to prefix special new codes with the name of the application (as
- suggested above) in order to make the standard much more freely useable.
- We simply add the clause that if field number 1 is not either empty or
- equal to the name of your application or your application class, you
- must ignore it. (Precisely as in .Xdefaults plus the extra bit for
- application classes.)
-
- Apart from that, the format suggested above is easier to process.
-
- (andre:)
-
- > Modifiers: ASCII 1 (up-arrow) for Shift. ^ for Control. ASCII 7 for Alt.
- > Modifiers should be displayed in the above order. Alt-Control combinations
- > should be avoided wherever possible.
-
- ASCII 1 and ASCII 7 in an ASCII text file are a bad idea. They are not
- printable characters, and will cause trouble in e.g. VI or on the
- printer.
-
- (andre:)
-
- > To help alleviate this problem, application-specific shortcuts
- > (e.g. DTP, MIDI, Database, etc) will have ranges of numbers assigned
- > for their use only, which all other types of program should ignore. I
- > propose assigning blocks of 1000 codes (e.g. 0-999 for
- > defaults, 1000-1999 for DTP, etc). This should allow more than enough
- > entries, and make the divisions more obvious when examining the
- > file. We need to decide on useful categories, but this could be done
- > later in the standard and need not hold up the basic default system.
-
- A very 'Atari' kind of proposal, in the bad sense of the word. This
- needs more thinking.
-
- -------
-
- darryl:
-
- > personally I like the idear of a keyboard definition file.
- > But to maintain a close standard, I reckon we should follow the general
- > idear used by WINX, ie have a global setting ( the standard defined by this
- > mail list ) and individual program overrides. This would encourage people
- > to follow the standard as much as possible.
-
- I agree, the classes bit is a bit fishy. The WINX solution is water-proof
- (though perhaps not bullet-proof. Tim? :-)
-
- -------
-
- andre:
-
- > Yep. The basic default standard should be defined here fairly soon,
- > by the sound of things, as there seems to be general (well, with one
- > exception :-) ) agreement on keyboard shortcuts.
-
- Actually, there are large parts of the current proposal I don't agree
- with. (I prefer Ofir's first one). But I don't care as I have all my
- hopes set on the DEFAULTS.INF files and once that is there, I no more
- need to worry anyway!
-
-
- -------
-
- michel:
-
- > In another message today, one of the people on the list suggested that
- > the help key (when combined with the SHIFT key) should enter a context
- > sensitive online help mode. This is a good idea, but since not every
- > programmer is willing to take the time or effort of writing such a
- > utility, I think that the idea would ultimately die. This does not have
- > to happen, though, because there is already a utility in existance that
- > allows programs to (transparently) implement context sensitive online
- > help. The utility is called ST-Guide. It can be used as an accessory (it
- > is very small) or a program. Once your online help is written (which
- > is very easy to do) you can control ST-Guide with a simple appl_write()
- > system call, causing it to start at any index within the HyperText file.
-
- Just in case you might find it interesting, future versions of Edith
- will have a similar feature. Edith will read MANPATH for WHATIS files,
- and use the information in those files to INTELLIGENTLY derive a
- hypertext based click-and-browse manual page system. The big difference
- is it will work with plain ASCII files (with special meaning attached to
- phrases in boldface, Esc p, q), i.e. no need to write dedicated
- hypertext files.
-
- Access will also provided by Gemini command line message (VA_START) in
- the accessory version. Perhaps it would be possible to adopt ST-Guide's
- message format? (what is its format?)
-
- > Anyway, this is just an idea. Does anyone have any comments or
- > reasons why this is a bad idea?
-
- Not at all! It would be a way to move all your help files to the f:\
- disk for example.
-
- --------
-
-
-
-
- --
- Annius V. Groenink | E-mail: avg@cwi.nl | Private & ZFC:
- CWI, Kruislaan 413 | Room: M233 | P.O. Box 12079
- 1098 SJ Amsterdam | Ext: 4077 | NL 1100 AB Amsterdam
- Netherland | Phone: +31 20 592 4077 | Phone: +31 20 695 9901
-